package com.auxgroup.hr.front.service.hireperson;

import java.util.List;

import com.auxgroup.hr.front.dao.domain.PsCHireFileTbl;
import com.auxgroup.hr.front.dao.domain.PsChireFilePrimary;

/**
 * 入职人员文件内容
 * @version 创建时间：180523 
 * @author lvliuhao
 *
 */
public interface HireFileService {
	/**
	 * 获取入职人员文件内容
	 * 
	 * @param PsChireFilePrimary
	 * @return
	 */
	public PsCHireFileTbl getHireFile(PsChireFilePrimary filePrimary);
	
	/**
	 * 保存
	 * @param PsCHireFileTbl
	 * @return
	 */
	public PsCHireFileTbl save(String rshireId,String base64,PsCHireFileTbl HireFile);
	
	/**
	 * 删除
	 * @param filePrimary
	 * @return
	 */
	public Boolean delete(PsChireFilePrimary filePrimary);
	
	/**
	 * 获取全部PsCHireFileTbl
	 * @param emplId
	 * @return
	 */
	public List<PsCHireFileTbl> getAll(String rsHireId,String fileNum);
	
	
	/**
	 * 组装ftp文件路径
	 * @param HireFile
	 * @return
	 */
	public String getFtpPath(PsCHireFileTbl HireFile);
	
}
